/*
	This file is part of PropExtractor.

	PropExtractor is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	PropExtractor is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with PropExtractor. If not, see <http://www.gnu.org/licenses/>.
*/

#include "PEIncludes.h"

#include "PELoader.h"

namespace pe
{

	PELoader::PELoader()
	{

	}

	PELoader::~PELoader()
	{

	}
	
	int PELoader::CheckFileType(char** a_Dst, PEStream* a_Stream)
	{
		if (CheckArchive(a_Dst, a_Stream) == PE_OK)
		{
			return PE_OK;
		}
		if (CheckImage(a_Dst, a_Stream) == PE_OK)
		{
			return PE_OK;
		}
		if (CheckModel(a_Dst, a_Stream) == PE_OK)
		{
			return PE_OK;
		}

		return -1;
	}

	int PELoader::CheckArchive(char** a_Dst, PEStream* a_Stream)
	{
		return -1;
	}

	int PELoader::CheckImage(char** a_Dst, PEStream* a_Stream)
	{
		return -1;
	}

	PEImage* PELoader::CheckImage(PEStream* a_Stream)
	{
		return NULL;
	}

	int PELoader::CheckModel(char** a_Dst, PEStream* a_Stream)
	{
		return -1;
	}
}